@import "ant-design-vue/dist/reset.css";
@import 'nprogress/nprogress.css';

$color-base:#0F4533;
$color-base-light:#0C6D43;
$color-base-light2:#ADCE24;
$color-warn:#FFCC00;
$color-error:#FF2D55;
$color-error2:#FF696A;
$color-success:#65B85D;
$color-gray:#404040;
$color-gray2:#717171;

body {
  margin: 0
}

#nprogress .bar {
  background: #ccc !important;
}

/* 移除小圆圈时还可以隐藏 fallback 样式 */
#nprogress .spinner {
  display: none !important;
}

.page-scroll {
  // height: 100%;
  // overflow-y: auto;
  background-color: #f5f8ff;
}

.defaultBackground {
  background-color: #f5f8ff;
}


/* 全局滚动条宽度（垂直滚动条）和高度（水平滚动条） */
::-webkit-scrollbar {
  width: 8px; /* 垂直滚动条宽度 */
  height: 8px; /* 水平滚动条高度 */
}

/* 滚动条轨道（背景） */
::-webkit-scrollbar-track {
  background: #f0f0f0;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: #104533;
  border-radius: 4px; /* 圆角 */
}

/* 鼠标悬停时滑块颜色 */
::-webkit-scrollbar-thumb:hover {
  background: #104533;
}

/* Firefox 兼容写法 */
* {
  scrollbar-width: thin; /* 细滚动条 */
  scrollbar-color: #104533 #f0f0f0; /* thumb颜色 + track颜色 */
}


.ant-tree .ant-tree-checkbox-checked .ant-tree-checkbox-inner {
  background-color: #104533 !important; /* 自定义颜色 */
  border-color: #104533 !important; /* 边框颜色 */
}

/* 鼠标悬停时的背景色 */
.ant-tree .ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
.ant-tree .ant-tree-checkbox:hover .ant-tree-checkbox-inner {
  border-color: #104533 !important;
}

.ant-tree .ant-tree-checkbox-inner:after {
  background-color: #104533 !important; /* 自定义颜色 */
}

.ant-switch.ant-switch-checked {
  background-color: #104533 !important;
}